getApp();

var n = require("../../model/fuliModel.js");

require("../../model/awconfig.js");

Page({
    data: {
        list: null
    },
    onLoad: function(t) {
        var o = this;
        wx.showLoading({
            title: "加载中"
        }), n.loadFuliList({}, function(n) {
            wx.hideLoading(), console.log(n), o.setData({
                list: n
            });
        }, function(n) {
            wx.hideLoading();
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    clickItem: function(n) {
        var t = n.currentTarget.dataset.currentIndex, o = this.data.list[t];
        wx.setStorageSync("SelectItem", o), wx.navigateTo({
            url: "/pages/fuliDetail/fuliDetail"
        });
    }
});